package zk.tool.model;

import zk.tool.ZKClient;

public class ConnectResult {
    private boolean success = false;
    private Exception e;
    private ZKClient client;

    public ConnectResult(boolean success, ZKClient client) {
        this.success = success;
        this.client = client;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public Exception getE() {
        return e;
    }

    public void setE(Exception e) {
        this.e = e;
    }

    public ZKClient getClient() {
        return client;
    }

    public void setClient(ZKClient client) {
        this.client = client;
    }
}
